<?php

$navigation = '<div>';

foreach (OOCategory::getRootCategories(1) as $nav)
{	
	$navigation .= '<p><a href="'.$nav->getUrl().'">'. $nav->getName() . '</a></p>';
}

$navigation .= '</div>';

echo $navigation;

?>